﻿using System.ComponentModel.DataAnnotations;

namespace Demo.Store.Application.Contracts.Store.Dto;
/// <summary>
/// 产品数量DTO
/// </summary>
public record StoreProductCountDto
{
    /// <summary>
    /// 产品编号
    /// </summary>
    public Guid ProductId { get; set; }

    /// <summary>
    /// 数量
    /// </summary>
    [Range(1, 100000)]
    public int Count { get; set; }
}